source: trunk/classes/mm-progs/imageconverter/makefile@ 2

Last change on this file since 2 was 2, checked in by stevenhl, 8 years ago

Import sources from cwmm-full.zip dated 2005-03-21

File size: 885 bytes
Line 
1# Makefile
2
3include ../../../make.inc
4
5CC = gcc
6LIB_DIR = $d:/emx/lib
7#CPPFLAGS = -Ge- /Gm+ -G4 -Gl /O+ -Oc+ -Ol
8#CPPFLAGS = -O -Zomf -Zcrtdll -Zmtd -s
9CPPFLAGS = -O -Wall -Zomf -Zmt -Zsys -s
10INC = ../include -I ../../../classes/inc -I ../../../common_functions/include
11DEFS =
12PROGS =
13ODIR = .
14CPPDIR = .
15LIBDIR = ../lib
16OBJECTS = $(LIBDIR)/message.obj $(LIBDIR)/helper.obj $(LIBDIR)/progbars.obj $(LIBDIR)/sys_funcs.obj
17
18all: imgconv.exe
19
20$(LIBDIR)/%.obj: $(COMMONSRC)/%.c
21 gcc -c -o$@ -Zomf -I$(INC) $<
22
23imgconv.exe: imgconv.c $(OBJECTS)
24#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
27
28clean:
29 -rm *.exe
30 -rm *.obj
31
32cleaner:
33 -rm *.*~
34 -rm *.flc
35
36distribution:
37
38
Note: See TracBrowser for help on using the repository browser.