Added Magiedit to makefile
This commit is contained in:
parent
981eb3a4c9
commit
ec69297cd8
@ -4,8 +4,9 @@ DEPS = bbs.h
|
||||
JAMLIB = deps/jamlib/jamlib.a
|
||||
ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
all: magicka magimail
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile freebsd MAKEFLAGS=
|
||||
@ -16,6 +17,9 @@ ${JAMLIB}:
|
||||
${ZMODEM}:
|
||||
cd deps/Xmodem && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o bluewave.o hashmap/hashmap.o
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
@ -26,6 +30,9 @@ magicka: $(OBJ) ${LUA} ${JAMLIB} ${ZMODEM}
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) freebsd
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -34,3 +41,5 @@ clean:
|
||||
cd deps/jamlib && $(MAKE) -f Makefile.linux clean
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanfreebsd
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
@ -6,8 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
B64 = deps/libb64-1.2/src/libb64.a
|
||||
MICROHTTPD=-lmicrohttpd
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
all: magicka magimail
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile freebsd MAKEFLAGS=
|
||||
@ -21,6 +22,9 @@ ${ZMODEM}:
|
||||
${B64}:
|
||||
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o bluewave.o www.o www_email.o www_msgs.o www_last10.o hashmap/hashmap.o
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
@ -31,6 +35,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB} ${B64}
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) freebsd
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -40,3 +47,5 @@ clean:
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd deps/libb64-1.2 && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanfreebsd
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
@ -4,9 +4,9 @@ DEPS = bbs.h
|
||||
JAMLIB = deps/jamlib/jamlib.a
|
||||
ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
|
||||
all: magicka magimail
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile linux MAKEFLAGS=
|
||||
@ -17,6 +17,9 @@ ${JAMLIB}:
|
||||
${ZMODEM}:
|
||||
cd deps/Xmodem && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o bluewave.o hashmap/hashmap.o
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
@ -27,6 +30,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB}
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) linux
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -35,3 +41,5 @@ clean:
|
||||
cd deps/jamlib && $(MAKE) -f Makefile.linux clean
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanlinux
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
@ -6,8 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
B64 = deps/libb64-1.2/src/libb64.a
|
||||
MICROHTTPD=-lmicrohttpd
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
all: magicka magimail
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile linux MAKEFLAGS=
|
||||
@ -21,6 +22,8 @@ ${ZMODEM}:
|
||||
${B64}:
|
||||
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o www.o www_email.o www_msgs.o www_last10.o bluewave.o hashmap/hashmap.o
|
||||
%.o: %.c $(DEPS)
|
||||
@ -32,6 +35,9 @@ magicka: $(OBJ) ${LUA} ${JAMLIB} ${ZMODEM} ${B64}
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) linux
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -41,3 +47,5 @@ clean:
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd deps/libb64-1.2 && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanlinux
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
@ -4,8 +4,9 @@ DEPS = bbs.h
|
||||
JAMLIB = deps/jamlib/jamlib.a
|
||||
ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
all: magicka
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile bsd MAKEFLAGS=
|
||||
@ -16,6 +17,9 @@ ${JAMLIB}:
|
||||
${ZMODEM}:
|
||||
cd deps/Xmodem && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o bluewave.o hashmap/hashmap.o
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
@ -23,6 +27,12 @@ OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o
|
||||
magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB}
|
||||
$(CC) -o magicka -o $@ $^ $(CFLAGS) -L/usr/pkg/lib -lsqlite3 $(JAMLIB) $(ZMODEM) $(LUA) -lutil -lm -lssl -lcrypto -lssh
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) linux
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -30,3 +40,7 @@ clean:
|
||||
cd deps/lua && $(MAKE) clean
|
||||
cd deps/jamlib && $(MAKE) -f Makefile.linux clean
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanlinux
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
||||
|
@ -6,8 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
B64 = deps/libb64-1.2/src/libb64.a
|
||||
MICROHTTPD=-lmicrohttpd
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
all: magicka
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile bsd MAKEFLAGS=
|
||||
@ -21,6 +22,9 @@ ${ZMODEM}:
|
||||
${B64}:
|
||||
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o bluewave.o www.o www_email.o www_msgs.o www_last10.o hashmap/hashmap.o
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
@ -28,6 +32,12 @@ OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o
|
||||
magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB} ${B64}
|
||||
$(CC) -o magicka -o $@ $^ $(CFLAGS) -L/usr/pkg/lib -lsqlite3 $(JAMLIB) $(ZMODEM) $(LUA) $(B64) -lutil -lm -lssl -lcrypto -lssh $(MICROHTTPD)
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) linux
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -36,3 +46,6 @@ clean:
|
||||
cd deps/jamlib && $(MAKE) -f Makefile.linux clean
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd deps/libb64-1.2 && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanlinux
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
11
Makefile.osx
11
Makefile.osx
@ -4,10 +4,11 @@ DEPS = bbs.h
|
||||
JAMLIB = deps/jamlib/jamlib.a
|
||||
ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o bluewave.o hashmap/hashmap.o
|
||||
|
||||
all: magicka magimail
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile macosx MAKEFLAGS=
|
||||
@ -18,6 +19,9 @@ ${JAMLIB}:
|
||||
${ZMODEM}:
|
||||
cd deps/Xmodem && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
@ -27,6 +31,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB}
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) linux
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -35,3 +42,5 @@ clean:
|
||||
cd deps/jamlib && $(MAKE) -f Makefile.linux clean
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanlinux
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
@ -6,9 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
|
||||
LUA = deps/lua/liblua.a
|
||||
B64 = deps/libb64-1.2/src/libb64.a
|
||||
MICROHTTPD=-lmicrohttpd
|
||||
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
|
||||
|
||||
|
||||
all: magicka magimail
|
||||
all: magicka magimail magiedit
|
||||
|
||||
${LUA}:
|
||||
cd deps/lua && $(MAKE) -f Makefile macosx MAKEFLAGS=
|
||||
@ -22,6 +22,9 @@ ${ZMODEM}:
|
||||
${B64}:
|
||||
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS=
|
||||
|
||||
${ODOORS}:
|
||||
cd deps/odoors/ && $(MAKE)
|
||||
|
||||
OBJ = inih/ini.o bbs.o main.o users.o main_menu.o mail_menu.o doors.o bbs_list.o chat_system.o email.o files.o settings.o lua_glue.o strings.o www.o www_email.o www_msgs.o www_last10.o bluewave.o hashmap/hashmap.o
|
||||
%.o: %.c $(DEPS)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
@ -32,6 +35,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB} ${B64}
|
||||
magimail: $(JAMLIB)
|
||||
cd utils/magimail && $(MAKE) linux
|
||||
|
||||
magiedit: $(ODOORS)
|
||||
cd utils/magiedit && $(MAKE)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
@ -40,3 +46,5 @@ clean:
|
||||
cd deps/jamlib && $(MAKE) -f Makefile.linux clean
|
||||
cd deps/Xmodem && $(MAKE) clean
|
||||
cd utils/magimail && $(MAKE) cleanlinux
|
||||
cd utils/magiedit && $(MAKE) clean
|
||||
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 838 B |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user