source: trunk/classes/mm-progs/makefile@ 119

Last change on this file since 119 was 104, checked in by gyoung, 2 years ago

Remaining changes from merge with Lars 2.9 branch

File size: 1.2 KB
Line 
1# Makefile
2
3include ../../make.inc
4
5.SUFFIXES: .obj .c
6.PHONY: clean cleaner
7
8CC = gcc
9CPPFLAGS = -O -Wno-pointer-sign -Wall -Zomf -Zcrtdll -s
10INC = ./include -I ../../classes/inc -I ../../common_functions/include
11DEFS =
12PROGS =
13ODIR = .
14CPPDIR = .
15LIBDIR = ./lib
16#export COMMONSRC = ../common_functions
17LIBOBJS = $(LIBDIR)/message.obj $(LIBDIR)/helper.obj $(LIBDIR)/progbars.obj $(LIBDIR)/menu_funcs.obj \
18 $(LIBDIR)/sys_funcs.obj
19
20
21$(LIBDIR)/%.obj: $(COMMONSRC)/%.c
22 gcc -c -Wno-pointer-sign -Wall -o$@ -Zomf -I$(INC) $<
23
24all: $(LIBOBJS)
25 cd ./master_volume && make
26 cd ./audioconverter && make
27 cd ./imageconverter && make
28 cd ./mmplayer && make
29 cd ./volume && make
30 cd ./mmfind && make
31
32clean:
33 -cd ./lib && rm *.obj
34 -cd ./volume && make clean
35 -cd ./audioconverter && make clean
36 -cd ./imageconverter && make clean
37 -cd ./mmplayer && make clean
38 -cd ./master_volume && make clean
39 -cd ./mmfind && make clean
40
41
42cleaner:
43 -cd ./volume && make cleaner
44 -cd ./audioconverter && make cleaner
45 -cd ./imageconverter && make cleaner
46 -cd ./mmplayer && make cleaner
47 -cd ./master_volume && make cleaner
48 -rm ./include/*.*~
49
50
51
Note: See TracBrowser for help on using the repository browser.