|
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:
801 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 -s
|
|---|
| 9 | CPPFLAGS = -O -Wall -Zomf -Zmt -Zsys -s
|
|---|
| 10 |
|
|---|
| 11 | INC = ../include -I ../../../classes/inc -I ../../../common_functions/include
|
|---|
| 12 | DEFS =
|
|---|
| 13 | PROGS =
|
|---|
| 14 | ODIR = .
|
|---|
| 15 | CPPDIR = .
|
|---|
| 16 | LIBDIR = ../lib
|
|---|
| 17 | OBJECTS = $(LIBDIR)/message.obj $(LIBDIR)/helper.obj $(LIBDIR)/progbars.obj $(LIBDIR)/sys_funcs.obj
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | all: audconv.exe
|
|---|
| 21 |
|
|---|
| 22 | $(LIBDIR)/%.obj: $(COMMONSRC)/%.c
|
|---|
| 23 | gcc -c -o$@ -Zomf -I$(INC) $<
|
|---|
| 24 |
|
|---|
| 25 | audconv.exe: audconv.c $(OBJECTS)
|
|---|
| 26 | gcc $(CPPFLAGS) -I$(INC) audconv.c $(OBJECTS) -los2me audconv.def
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | clean:
|
|---|
| 30 | -rm *.exe
|
|---|
| 31 | -rm *.obj
|
|---|
| 32 |
|
|---|
| 33 | cleaner:
|
|---|
| 34 | -rm *.*~
|
|---|
| 35 | -rm *.flc
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 | distribution:
|
|---|
| 39 | -cp *.exe ../../dist/bin
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.