source:
freewrt/package/psybnc/patches/Makefile.patch@
475ad56
| Last change on this file since 475ad56 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 2.8 KB | |
-
Makefile
old new 1 CC = gcc1 HOSTCC = gcc 2 2 CCFLAGS = 3 3 4 4 all: $(OBJS) 5 5 @echo Initializing bouncer compilation 6 6 @echo [*] Running Conversion Tool for older psyBNC Data. 7 @$( CC) tools/convconf.c -o tools/convconf7 @$(HOSTCC) tools/convconf.c -o tools/convconf 8 8 @tools/convconf 9 9 @echo [*] Running Autoconfig. 10 @$( CC) -I. tools/autoconf.c -o tools/autoconf10 @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf 11 11 @tools/autoconf 12 12 @echo [*] Compiling MakeSalt for Encryption.. 13 @$( CC) -I. -o makesalt tools/makesalt.c13 @$(HOSTCC) -I. -o makesalt tools/makesalt.c 14 14 @./makesalt 15 15 @echo [*] Compiling Bouncer.. 16 16 @make -f makefile.out … … 20 20 menuconfig: 21 21 @echo Initializing Menu-Configuration 22 22 @echo [*] Running Conversion Tool for older psyBNC Data. 23 @$( CC) tools/convconf.c -o tools/convconf23 @$(HOSTCC) tools/convconf.c -o tools/convconf 24 24 @tools/convconf 25 25 @echo [*] Running Autoconfig. 26 @$( CC) -I. tools/autoconf.c -o tools/autoconf26 @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf 27 27 @tools/autoconf 28 28 @echo [*] Creating Menu, please wait. 29 29 @echo This needs the 'ncurses' library. If it is not available, menuconf wont work. If you are using 'curses', use make menuconfig-curses instead. 30 @$( CC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -I. -lncurses -lm -o menuconf/menuconf 2>/dev/null30 @$(HOSTCC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -I. -lncurses -lm -o menuconf/menuconf 2>/dev/null 31 31 @menuconf/menuconf 32 32 @clear 33 33 @echo Now compile psyBNC using make, if not yet compiled, or if Options were changed. … … 36 36 menuconfig-curses: 37 37 @echo Initializing Menu-Configuration using Curses 38 38 @echo [*] Running Conversion Tool for older psyBNC Data. 39 @$( CC) tools/convconf.c -o tools/convconf39 @$(HOSTCC) tools/convconf.c -o tools/convconf 40 40 @tools/convconf 41 41 @echo [*] Running Autoconfig. 42 @$( CC) -I. tools/autoconf.c -o tools/autoconf42 @$(HOSTCC) -I. tools/autoconf.c -o tools/autoconf 43 43 @tools/autoconf 44 44 @echo [*] Creating Menu, please wait. 45 45 @echo This needs the 'curses' library. If it is not available, menuconf wont work. 46 @$( CC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -DNONCURSES -I. -lcurses -lm -o menuconf/menuconf 2>/dev/null46 @$(HOSTCC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -DNONCURSES -I. -lcurses -lm -o menuconf/menuconf 2>/dev/null 47 47 @menuconf/menuconf 48 48 @clear 49 49 @echo Now compile psyBNC using make, if not yet compiled, or if Options were changed.
Note:
See TracBrowser
for help on using the repository browser.
