source: vital-to8-sdk/music/mod/Makefile

Last change on this file was 1, checked in by svn, 6 years ago

Import initial

File size: 450 bytes
RevLine 
[1]1TARGET = vital_tracker
2LIBS = `pkg-config gtk+-3.0 --libs` -lasound
3CC = gcc
4CFLAGS = -g -W `pkg-config --cflags --libs gtk+-3.0`
5
6.PHONY: default all clean
7
8default: $(TARGET)
9
10all: default
11
12OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c))
13HEADERS = $(wildcard *.h)
14
15%.o: %.c $(HEADERS)
16        $(CC) $(CFLAGS) -c $< -o $@
17
18.PRECIOUS: $(TARGET) $(OBJECTS)
19
20$(TARGET): $(OBJECTS)
21        $(CC) $(OBJECTS) -Wall $(LIBS) -o $@
22
23clean:
24        -rm -f *.o
25        -rm -f $(TARGET)
26
27
Note: See TracBrowser for help on using the repository browser.