summaryrefslogtreecommitdiff
path: root/Makefile
blob: 0a6c6e0c52eeeb4ac0d5d274f5ac342c9b396046 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PROJECT=radiola
CC=gcc
CFLAGS=
LDFLAGS=

BUILD_DIR=build/

SOURCES= 
OBJECTS= 
OBJECTS_FINAL=



include hw/make.mk

make: $(OBJECTS) 
	$(CC) $(OBJECTS_FINAL) $(PROJECT).c -o $(PROJECT) $(LDFLAGS)

%.o: %.c
	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $(BUILD_DIR)$@

clean:
	rm -f $(PROJECT)