blob: 013844412a8156e684403a389c4d981eb0649d22 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  | 
--- Makefile.orig	2007-03-20 14:02:50 UTC
+++ Makefile
@@ -7,7 +7,7 @@ all:	$(OBJS)
 	@$(CC) tools/convconf.c -o tools/convconf
 	@tools/convconf
 	@echo [*] Running Autoconfig.
-	@$(CC) -I. tools/autoconf.c -o tools/autoconf
+	@$(CC) -I. tools/autoconf.c -o tools/autoconf -DPSYBASE=\"$(PSYBASE)\" -DPREFIX=\"$(PREFIX)\"
 	@tools/autoconf
 	@echo [*] Compiling MakeSalt for Encryption..
 	@$(CC) -I. -o makesalt tools/makesalt.c
@@ -23,7 +23,7 @@ menuconfig:
 	@$(CC) tools/convconf.c -o tools/convconf
 	@tools/convconf
 	@echo [*] Running Autoconfig.
-	@$(CC) -I. tools/autoconf.c -o tools/autoconf
+	@$(CC) -I. tools/autoconf.c -o tools/autoconf -DPSYBASE=\"$(PSYBASE)\" -DPREFIX=\"$(PREFIX)\"
 	@tools/autoconf
 	@echo [*] Creating Menu, please wait.
 	@echo This needs the 'ncurses' library. If it is not available, menuconf wont work. If you are using 'curses', use make menuconfig-curses instead.
@@ -39,7 +39,7 @@ menuconfig-curses:
 	@$(CC) tools/convconf.c -o tools/convconf
 	@tools/convconf
 	@echo [*] Running Autoconfig.
-	@$(CC) -I. tools/autoconf.c -o tools/autoconf
+	@$(CC) -I. tools/autoconf.c -o tools/autoconf -DPSYBASE=\"$(PSYBASE)\" -DPREFIX=\"$(PREFIX)\"
 	@tools/autoconf
 	@echo [*] Creating Menu, please wait.
 	@echo This needs the 'curses' library. If it is not available, menuconf wont work.
  
  |