File: makefile.unx

package info (click to toggle)
wing 0.7-33
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,744 kB
  • sloc: cpp: 2,526; sh: 65; makefile: 16
file content (36 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# WING (Wing Is Not Galage) Makefile
# Authors : Adam Hiatt and Anil Shrestra

TARGET := wing

CXX ?= g++
CPPFLAGS := 
CFLAGS := -Wall -Wno-deprecated-declarations -g -O2
CXXFLAGS := $(CFLAGS)
LDFLAGS := 

OBJ := animationtype.o \
       bullettype.o \
       collision.o \
       enemytype.o \
       main.o \
       planetype.o \
       scorelisttype.o \
       sound.o \
       star.o \
       util.o \
       additional/apstring.o

LIBS := `allegro-config --libs`



wing : $(OBJ)
	$(CXX) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(OBJ) -o $(TARGET) $(LIBS)

.o : .cpp
	$(CXX) $(CFLAGS) -c $^ -o $@

clean:
	rm -f *.o additional/*.o
	rm -f $(TARGET)