Added Magiedit to makefile

This commit is contained in:
Andrew Pamment 2017-03-19 07:49:46 +10:00
parent 981eb3a4c9
commit ec69297cd8
111 changed files with 110 additions and 17 deletions

View File

@ -4,8 +4,9 @@ DEPS = bbs.h
JAMLIB = deps/jamlib/jamlib.a JAMLIB = deps/jamlib/jamlib.a
ZMODEM = deps/Xmodem/libzmodem.a ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.a LUA = deps/lua/liblua.a
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
all: magicka magimail all: magicka magimail magiedit
${LUA}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile freebsd MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile freebsd MAKEFLAGS=
@ -16,6 +17,9 @@ ${JAMLIB}:
${ZMODEM}: ${ZMODEM}:
cd deps/Xmodem && $(MAKE) MAKEFLAGS= 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 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) %.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) $(CC) -c -o $@ $< $(CFLAGS)
@ -26,6 +30,9 @@ magicka: $(OBJ) ${LUA} ${JAMLIB} ${ZMODEM}
magimail: $(JAMLIB) magimail: $(JAMLIB)
cd utils/magimail && $(MAKE) freebsd cd utils/magimail && $(MAKE) freebsd
magiedit: $(ODOORS)
cd utils/magiedit && $(MAKE)
.PHONY: clean .PHONY: clean
clean: clean:
@ -34,3 +41,5 @@ clean:
cd deps/jamlib && $(MAKE) -f Makefile.linux clean cd deps/jamlib && $(MAKE) -f Makefile.linux clean
cd deps/Xmodem && $(MAKE) clean cd deps/Xmodem && $(MAKE) clean
cd utils/magimail && $(MAKE) cleanfreebsd cd utils/magimail && $(MAKE) cleanfreebsd
cd utils/magiedit && $(MAKE) clean
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`

View File

@ -6,8 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.a LUA = deps/lua/liblua.a
B64 = deps/libb64-1.2/src/libb64.a B64 = deps/libb64-1.2/src/libb64.a
MICROHTTPD=-lmicrohttpd MICROHTTPD=-lmicrohttpd
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
all: magicka magimail all: magicka magimail magiedit
${LUA}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile freebsd MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile freebsd MAKEFLAGS=
@ -21,6 +22,9 @@ ${ZMODEM}:
${B64}: ${B64}:
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS= 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 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) %.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) $(CC) -c -o $@ $< $(CFLAGS)
@ -31,6 +35,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB} ${B64}
magimail: $(JAMLIB) magimail: $(JAMLIB)
cd utils/magimail && $(MAKE) freebsd cd utils/magimail && $(MAKE) freebsd
magiedit: $(ODOORS)
cd utils/magiedit && $(MAKE)
.PHONY: clean .PHONY: clean
clean: clean:
@ -40,3 +47,5 @@ clean:
cd deps/Xmodem && $(MAKE) clean cd deps/Xmodem && $(MAKE) clean
cd deps/libb64-1.2 && $(MAKE) clean cd deps/libb64-1.2 && $(MAKE) clean
cd utils/magimail && $(MAKE) cleanfreebsd cd utils/magimail && $(MAKE) cleanfreebsd
cd utils/magiedit && $(MAKE) clean
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`

View File

@ -4,9 +4,9 @@ DEPS = bbs.h
JAMLIB = deps/jamlib/jamlib.a JAMLIB = deps/jamlib/jamlib.a
ZMODEM = deps/Xmodem/libzmodem.a ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.a LUA = deps/lua/liblua.a
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
all: magicka magimail magiedit
all: magicka magimail
${LUA}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile linux MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile linux MAKEFLAGS=
@ -17,6 +17,9 @@ ${JAMLIB}:
${ZMODEM}: ${ZMODEM}:
cd deps/Xmodem && $(MAKE) MAKEFLAGS= 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 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) %.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) $(CC) -c -o $@ $< $(CFLAGS)
@ -27,6 +30,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB}
magimail: $(JAMLIB) magimail: $(JAMLIB)
cd utils/magimail && $(MAKE) linux cd utils/magimail && $(MAKE) linux
magiedit: $(ODOORS)
cd utils/magiedit && $(MAKE)
.PHONY: clean .PHONY: clean
clean: clean:
@ -35,3 +41,5 @@ clean:
cd deps/jamlib && $(MAKE) -f Makefile.linux clean cd deps/jamlib && $(MAKE) -f Makefile.linux clean
cd deps/Xmodem && $(MAKE) clean cd deps/Xmodem && $(MAKE) clean
cd utils/magimail && $(MAKE) cleanlinux cd utils/magimail && $(MAKE) cleanlinux
cd utils/magiedit && $(MAKE) clean
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`

View File

@ -6,8 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.a LUA = deps/lua/liblua.a
B64 = deps/libb64-1.2/src/libb64.a B64 = deps/libb64-1.2/src/libb64.a
MICROHTTPD=-lmicrohttpd MICROHTTPD=-lmicrohttpd
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
all: magicka magimail all: magicka magimail magiedit
${LUA}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile linux MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile linux MAKEFLAGS=
@ -21,6 +22,8 @@ ${ZMODEM}:
${B64}: ${B64}:
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS= 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 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) %.o: %.c $(DEPS)
@ -32,6 +35,9 @@ magicka: $(OBJ) ${LUA} ${JAMLIB} ${ZMODEM} ${B64}
magimail: $(JAMLIB) magimail: $(JAMLIB)
cd utils/magimail && $(MAKE) linux cd utils/magimail && $(MAKE) linux
magiedit: $(ODOORS)
cd utils/magiedit && $(MAKE)
.PHONY: clean .PHONY: clean
clean: clean:
@ -41,3 +47,5 @@ clean:
cd deps/Xmodem && $(MAKE) clean cd deps/Xmodem && $(MAKE) clean
cd deps/libb64-1.2 && $(MAKE) clean cd deps/libb64-1.2 && $(MAKE) clean
cd utils/magimail && $(MAKE) cleanlinux cd utils/magimail && $(MAKE) cleanlinux
cd utils/magiedit && $(MAKE) clean
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`

View File

@ -4,8 +4,9 @@ DEPS = bbs.h
JAMLIB = deps/jamlib/jamlib.a JAMLIB = deps/jamlib/jamlib.a
ZMODEM = deps/Xmodem/libzmodem.a ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.a LUA = deps/lua/liblua.a
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
all: magicka all: magicka magimail magiedit
${LUA}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile bsd MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile bsd MAKEFLAGS=
@ -16,6 +17,9 @@ ${JAMLIB}:
${ZMODEM}: ${ZMODEM}:
cd deps/Xmodem && $(MAKE) MAKEFLAGS= 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 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) %.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) $(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} magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB}
$(CC) -o magicka -o $@ $^ $(CFLAGS) -L/usr/pkg/lib -lsqlite3 $(JAMLIB) $(ZMODEM) $(LUA) -lutil -lm -lssl -lcrypto -lssh $(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 .PHONY: clean
clean: clean:
@ -30,3 +40,7 @@ clean:
cd deps/lua && $(MAKE) clean cd deps/lua && $(MAKE) clean
cd deps/jamlib && $(MAKE) -f Makefile.linux clean cd deps/jamlib && $(MAKE) -f Makefile.linux clean
cd deps/Xmodem && $(MAKE) 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`

View File

@ -6,8 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.a LUA = deps/lua/liblua.a
B64 = deps/libb64-1.2/src/libb64.a B64 = deps/libb64-1.2/src/libb64.a
MICROHTTPD=-lmicrohttpd MICROHTTPD=-lmicrohttpd
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
all: magicka all: magicka magimail magiedit
${LUA}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile bsd MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile bsd MAKEFLAGS=
@ -21,6 +22,9 @@ ${ZMODEM}:
${B64}: ${B64}:
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS= 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 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) %.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) $(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} 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) $(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 .PHONY: clean
clean: clean:
@ -36,3 +46,6 @@ clean:
cd deps/jamlib && $(MAKE) -f Makefile.linux clean cd deps/jamlib && $(MAKE) -f Makefile.linux clean
cd deps/Xmodem && $(MAKE) clean cd deps/Xmodem && $(MAKE) clean
cd deps/libb64-1.2 && $(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`

View File

@ -4,10 +4,11 @@ DEPS = bbs.h
JAMLIB = deps/jamlib/jamlib.a JAMLIB = deps/jamlib/jamlib.a
ZMODEM = deps/Xmodem/libzmodem.a ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.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 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}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile macosx MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile macosx MAKEFLAGS=
@ -18,6 +19,9 @@ ${JAMLIB}:
${ZMODEM}: ${ZMODEM}:
cd deps/Xmodem && $(MAKE) MAKEFLAGS= cd deps/Xmodem && $(MAKE) MAKEFLAGS=
${ODOORS}:
cd deps/odoors/ && $(MAKE)
%.o: %.c $(DEPS) %.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) $(CC) -c -o $@ $< $(CFLAGS)
@ -27,6 +31,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB}
magimail: $(JAMLIB) magimail: $(JAMLIB)
cd utils/magimail && $(MAKE) linux cd utils/magimail && $(MAKE) linux
magiedit: $(ODOORS)
cd utils/magiedit && $(MAKE)
.PHONY: clean .PHONY: clean
clean: clean:
@ -35,3 +42,5 @@ clean:
cd deps/jamlib && $(MAKE) -f Makefile.linux clean cd deps/jamlib && $(MAKE) -f Makefile.linux clean
cd deps/Xmodem && $(MAKE) clean cd deps/Xmodem && $(MAKE) clean
cd utils/magimail && $(MAKE) cleanlinux cd utils/magimail && $(MAKE) cleanlinux
cd utils/magiedit && $(MAKE) clean
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`

View File

@ -6,9 +6,9 @@ ZMODEM = deps/Xmodem/libzmodem.a
LUA = deps/lua/liblua.a LUA = deps/lua/liblua.a
B64 = deps/libb64-1.2/src/libb64.a B64 = deps/libb64-1.2/src/libb64.a
MICROHTTPD=-lmicrohttpd MICROHTTPD=-lmicrohttpd
ODOORS = deps/odoors/libs-`uname -s`/libODoors.a
all: magicka magimail magiedit
all: magicka magimail
${LUA}: ${LUA}:
cd deps/lua && $(MAKE) -f Makefile macosx MAKEFLAGS= cd deps/lua && $(MAKE) -f Makefile macosx MAKEFLAGS=
@ -22,6 +22,9 @@ ${ZMODEM}:
${B64}: ${B64}:
cd deps/libb64-1.2 && $(MAKE) MAKEFLAGS= 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 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) %.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS) $(CC) -c -o $@ $< $(CFLAGS)
@ -32,6 +35,9 @@ magicka: $(OBJ) ${LUA} ${ZMODEM} ${JAMLIB} ${B64}
magimail: $(JAMLIB) magimail: $(JAMLIB)
cd utils/magimail && $(MAKE) linux cd utils/magimail && $(MAKE) linux
magiedit: $(ODOORS)
cd utils/magiedit && $(MAKE)
.PHONY: clean .PHONY: clean
clean: clean:
@ -40,3 +46,5 @@ clean:
cd deps/jamlib && $(MAKE) -f Makefile.linux clean cd deps/jamlib && $(MAKE) -f Makefile.linux clean
cd deps/Xmodem && $(MAKE) clean cd deps/Xmodem && $(MAKE) clean
cd utils/magimail && $(MAKE) cleanlinux cd utils/magimail && $(MAKE) cleanlinux
cd utils/magiedit && $(MAKE) clean
cd deps/odoors/ && rm -rf libs-`uname -s` objs-`uname -s` exe-`uname -s`

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

View File

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