-
Notifications
You must be signed in to change notification settings - Fork 2
/
MAKEFILE
47 lines (42 loc) · 1.06 KB
/
MAKEFILE
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
37
38
39
40
41
42
43
44
45
46
47
#
# Makefile for Plutonium Caverns (Pascal port)
#
TMTROOT = C:/TMT
TP7ROOT = C:/BP
TMTPC = $(TMTROOT)/BIN/TMTPC.EXE
TPC = $(TP7ROOT)/BIN/TPC.EXE
RM = ERASE
# set your Pascal compiler here
PC = $(TMTPC)
CORE_D = ./CORE
CORE_H = $(CORE_D)/APP.INC \
$(CORE_D)/ASSET.INC \
$(CORE_D)/ERROR.INC \
$(CORE_D)/GRAPHICS.INC \
$(CORE_D)/INPUT.INC \
$(CORE_D)/SOUND.INC \
$(CORE_D)/SPRITE.INC \
$(CORE_D)/TILEMAP.INC \
$(CORE_D)/TRANS.INC \
$(CORE_D)/TYPES.INC \
$(CORE_D)/UTILS.INC
GAME_D = ./GAME
GAME_H = $(GAME_D)/GAME.INC \
$(GAME_D)/GLOBALS.INC \
$(GAME_D)/INTRO.INC \
$(GAME_D)/SMENU.INC \
$(GAME_D)/STORY.INC \
$(GAME_D)/TITLE.INC \
$(GAME_D)/MENU.INC \
$(GAME_D)/GAME.INC \
PREPS.INC
MAIN = PC
SOURCES = $(CORE_H) $(GAME_H) $(MAIN).PAS
all: $(SOURCES)
@$(PC) $(MAIN)
@if exist $(MAIN).SYM $(RM) $(MAIN).SYM
@if exist $(MAIN).FPD $(RM) $(MAIN).FPD
clean:
@if exist $(MAIN).EXE $(RM) $(MAIN).EXE
@if exist $(MAIN).SYM $(RM) $(MAIN).SYM
@if exist $(MAIN).FPD $(RM) $(MAIN).FPD