ugfx/tools/file2c/source/Makefile

16 lines
233 B
Makefile
Raw Normal View History

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)