ugfx/tools/file2c/source/Makefile
2013-04-03 12:32:57 +02:00

16 lines
233 B
Makefile

TARGET = file2c
SRCS = $(shell find -name '*.c')
OBJS = $(addsuffix .o,$(basename $(SRCS)))
CFLAGS = -Wall -p
CC = /usr/bin/gcc
RM = /bin/rm -f
all: clean
$(CC) $(CFLAGS) -o $(TARGET) $(SRCS)
clean:
$(RM) $(TARGET) $(OBJS)