ctr_eFuse/trunk/Makefile.sharp
n2460 be5d371dbc sample:シャープ提供のサンプルを改めて作成。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@213 ff987cc8-cf2f-4642-8568-d52cce064691
2013-06-06 06:28:41 +00:00

26 lines
416 B
Makefile

TARGET = gen_id
SRCS = sample.c util.c
OBJS = $(notdir $(SRCS:.c=.o))
CC := /usr/bin/gcc
LD = /usr/bin/gcc
LDFLAGS += -Wl -L./
LDLIBS += -lgenid
TARGET_DEL = $(TARGET)
.SUFFIXES:
all: $(TARGET)
$(TARGET): $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) -o $@ $(LDLIBS)
%.o:%.c
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
.PHONY: clean clobber
clean clobber:
$(RM) $(OBJS) $(TARGET_DEL)