mirror of
https://github.com/Alee14/uplink-source-code.git
synced 2025-01-22 09:02:07 -05:00
20 lines
360 B
Makefile
20 lines
360 B
Makefile
|
export CC = apgcc
|
||
|
export CXX = apg++
|
||
|
RMF = rm -f
|
||
|
#CXXFLAGS += -g
|
||
|
#CXXFLAGS += -DSLASHER -D_DEBUG
|
||
|
#CXXFLAGS += -I/usr/X11R6/include -D_REENTRANT -fvisibility=default
|
||
|
CXXFLAGS += -D_REENTRANT -fvisibility=default
|
||
|
CXXFLAGS += -O2
|
||
|
|
||
|
%.o: %.cpp
|
||
|
$(CXX) -c $(CXXFLAGS) -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
-$(RMF) *.a *.o *.lib
|
||
|
|
||
|
%.a:
|
||
|
-$(RMF) $@
|
||
|
$(AR) rvs $@ $+
|
||
|
|