|
Last change
on this file was 2, checked in by stevenhl, 8 years ago |
|
Import sources from cwmm-full.zip dated 2005-03-21
|
|
File size:
1011 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)/menu_funcs.obj $(LIBDIR)/sys_funcs.obj
|
|---|
| 17 | OBJS2 = customprocs.obj
|
|---|
| 18 | # display.obj
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | all: classvol.exe
|
|---|
| 22 |
|
|---|
| 23 | $(LIBDIR)/%.obj: $(COMMONSRC)/%.c
|
|---|
| 24 | gcc -c -Wall -o$@ -Zomf -I$(INC) $<
|
|---|
| 25 |
|
|---|
| 26 | %.obj: %.c
|
|---|
| 27 | gcc -c -Wall -o$@ -Zomf -I$(INC) $<
|
|---|
| 28 |
|
|---|
| 29 | classvol.exe: classvol.c $(OBJECTS) $(OBJS2) makefile
|
|---|
| 30 | #Use this command to link dynamicaly
|
|---|
| 31 | gcc $(CPPFLAGS) -I$(INC) classvol.c $(OBJECTS) $(OBJS2) -los2me classvolume.def
|
|---|
| 32 | rc classvolume.rc classvol.exe
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | clean:
|
|---|
| 36 | -rm *.exe
|
|---|
| 37 | -rm *.obj
|
|---|
| 38 | -rm *.ini
|
|---|
| 39 | -rm *.res
|
|---|
| 40 |
|
|---|
| 41 | cleaner:
|
|---|
| 42 | -rm *.*~
|
|---|
| 43 | -rm *.flc
|
|---|
| 44 |
|
|---|
| 45 | distribution:
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.