-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
30 lines (23 loc) · 875 Bytes
/
Makefile.win
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
# Project: Donkey Kong
# Makefile created by Dev-C++ 4.9.9.3
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = main.o $(RES)
LINKOBJ = main.o $(RES)
LIBS = -L"lib" -L"lib/gcc" -static-libstdc++ -static-libgcc -mwindows -lalleg_s -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound
INCS = -I"include"
CXXINCS = -I"include" -I"include/sys" -I"include/ddk" -I"include/gdiplus" -I"include/GL"
BIN = "Donkey Kong.exe"
CXXFLAGS = $(CXXINCS) -DALLEGRO_STATICLINK
CFLAGS = $(INCS) -DALLEGRO_STATICLINK
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before "Donkey Kong.exe" all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Donkey Kong.exe" $(LIBS)
main.o: main.cpp
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)