File: Makefile

package info (click to toggle)
libjmac-java 1.74-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,780 kB
  • sloc: java: 9,279; cpp: 4,375; xml: 369; makefile: 31; sh: 12
file content (22 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TARGET   = jmac
INCLUDES = -I/usr/local/java/include -I/usr/local/java/include/linux -I../mac/Source/MACLib -I../mac/Source/Shared
CPPOPT   = -s -O3 -D__GNUC_IA32__ -DBUILD_CROSS_PLATFORM
COMPILER = gcc

SOURCEFILES = 			\
APEDecompressJMAC.o		\
jmac.o				\
UnBitArrayJMAC.o		\
../mac/Shared/libmac.a

$(TARGET): $(SOURCEFILES)
	$(COMPILER) -lstdc++ -shared $(CPPOPT) $(INCLUDES) -o lib$(TARGET).so $(SOURCEFILES)

APEDecompressJMAC.o: APEDecompressJMAC.cpp
	$(COMPILER) -c $(CPPOPT) $(INCLUDES) -o APEDecompressJMAC.o       APEDecompressJMAC.cpp			

jmac.o: jmac.cpp
	$(COMPILER) -c $(CPPOPT) $(INCLUDES) -o jmac.o       jmac.cpp		

UnBitArrayJMAC.o: UnBitArrayJMAC.cpp
	$(COMPILER) -c $(CPPOPT) $(INCLUDES) -o UnBitArrayJMAC.o       UnBitArrayJMAC.cpp