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