|
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 |
|
|---|
| 3 | include ../../../make.inc
|
|---|
| 4 |
|
|---|
| 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
|
|---|
| 17 |
|
|---|
| 18 | all: imgconv.exe
|
|---|
| 19 |
|
|---|
| 20 | $(LIBDIR)/%.obj: $(COMMONSRC)/%.c
|
|---|
| 21 | gcc -c -o$@ -Zomf -I$(INC) $<
|
|---|
| 22 |
|
|---|
| 23 | imgconv.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 |
|
|---|
| 28 | clean:
|
|---|
| 29 | -rm *.exe
|
|---|
| 30 | -rm *.obj
|
|---|
| 31 |
|
|---|
| 32 | cleaner:
|
|---|
| 33 | -rm *.*~
|
|---|
| 34 | -rm *.flc
|
|---|
| 35 |
|
|---|
| 36 | distribution:
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.