forked from perfectconsulting/tile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (15 loc) · 660 Bytes
/
Makefile
File metadata and controls
19 lines (15 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS=-std=c99 -g
INCLUDES=-I.
LIBS=
OBJECTS=tile2.o virtual-machine.o io.o
.c.o:
@echo "Compiling $*.c"
@$(CC) $(CFLAGS) -c $*.c $(INCLUDES) -DBUILD_NO=$(BUILD_NO)
tile: $(OBJECTS)
@mkdir -p bin
@$(CC) -o bin/tile $(OBJECTS) $(LIBS)
@echo "TILE built"
clean:
@echo "Cleaning TILE files"
@$(RM) $(OBJECTS)
@$(RM) bin/host/tile