|
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:
1.0 KB
|
| 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)/helper.obj $(LIBDIR)/message.obj $(LIBDIR)/sys_funcs.obj
|
|---|
| 17 | # $(LIBDIR)/menu_funcs.obj
|
|---|
| 18 | OBJS2 = image.obj
|
|---|
| 19 | #customprocs.obj playaudio.obj display.obj
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | all: mmfind.exe
|
|---|
| 23 |
|
|---|
| 24 | $(LIBDIR)/%.obj: $(COMMONSRC)/%.c
|
|---|
| 25 | gcc -c -Wall -o$@ -Zomf -I$(INC) $<
|
|---|
| 26 |
|
|---|
| 27 | %.obj: %.c
|
|---|
| 28 | gcc -c -Wall -o$@ -Zomf -I$(INC) $<
|
|---|
| 29 |
|
|---|
| 30 | mmfind.exe: mmfind.c $(OBJECTS) $(OBJS2) makefile
|
|---|
| 31 | #Use this command to link dynamicaly
|
|---|
| 32 | gcc $(CPPFLAGS) -I$(INC) mmfind.c $(OBJECTS) $(OBJS2) -los2me mmfind.def
|
|---|
| 33 | # rc mmfind.rc mmfind.exe
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | clean:
|
|---|
| 37 | -rm *.exe
|
|---|
| 38 | -rm *.dll
|
|---|
| 39 | -rm *.obj
|
|---|
| 40 | -rm *.res
|
|---|
| 41 | -rm *.ini
|
|---|
| 42 |
|
|---|
| 43 | cleaner:
|
|---|
| 44 | -rm *.*~
|
|---|
| 45 | -rm *.flc
|
|---|
| 46 |
|
|---|
| 47 | distribution:
|
|---|
| 48 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.