Changeset 4 for trunk/classes/mm-progs/imageconverter/makefile
- Timestamp:
- Jul 13, 2017, 5:17:57 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/classes/mm-progs/imageconverter/makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/classes/mm-progs/imageconverter/makefile
r2 r4 2 2 3 3 include ../../../make.inc 4 include ../mmprog.inc 4 5 5 CC = gcc 6 LIB_DIR = $d:/emx/lib 7 #CPPFLAGS = -Ge- /Gm+ -G4 -Gl /O+ -Oc+ -Ol 8 #CPPFLAGS = -O -Zomf -Zcrtdll -Zmtd -s 9 CPPFLAGS = -O -Wall -Zomf -Zmt -Zsys -s 10 INC = ../include -I ../../../classes/inc -I ../../../common_functions/include 11 DEFS = 12 PROGS = 13 ODIR = . 14 CPPDIR = . 15 LIBDIR = ../lib 16 OBJECTS = $(LIBDIR)/message.obj $(LIBDIR)/helper.obj $(LIBDIR)/progbars.obj $(LIBDIR)/sys_funcs.obj 6 OBJECTS = $(LIBDIR)/message.obj \ 7 $(LIBDIR)/helper.obj \ 8 $(LIBDIR)/progbars.obj \ 9 $(LIBDIR)/sys_funcs.obj 17 10 18 11 all: imgconv.exe 19 12 20 $(LIBDIR)/%.obj: $(COMMONSRC)/%.c21 gcc -c -o$@ -Zomf -I$(INC) $<22 13 23 14 imgconv.exe: imgconv.c $(OBJECTS) 15 cmd /C $(TOOLDIR)\create_MMPROG_def.cmd imgconv.def 24 16 #Use this command to link dynamicaly 25 # gcc $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) -Zmtd -los2me imgconv.def 26 gcc $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) -los2me imgconv.def 17 $(CC) $(CPPFLAGS) -I$(INC) imgconv.c $(OBJECTS) -los2me imgconv.def 27 18 28 19 clean: 29 20 -rm *.exe 21 -rm *.dll 30 22 -rm *.obj 23 -rm *.res 24 -rm *.ini 31 25 32 26 cleaner: … … 34 28 -rm *.flc 35 29 30 36 31 distribution: 37 38
Note:
See TracChangeset
for help on using the changeset viewer.
