
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@2 315a16e6-25f9-4109-90ae-ca3045a26c18
25 lines
394 B
Makefile
25 lines
394 B
Makefile
C_source = main.c tasks.c processor.c
|
|
|
|
OBJS += $(patsubst %.c, %.o, $(filter %.c, $(C_source)))
|
|
|
|
# other implicit rules
|
|
%.o : %.c
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|
|
|
|
default:
|
|
$(MAKE) all
|
|
|
|
all:
|
|
$(MAKE) $(LIBNAME)
|
|
|
|
$(LIBNAME): $(OBJS)
|
|
$(AR) $(ARFLAGS) $(LIBNAME) $(OBJS)
|
|
|
|
clean:
|
|
$(RM) *.o *~ $(NAME)
|
|
|
|
depend:
|
|
$(CC) -MM $(CFLAGS) $(C_source) > Makefile.dep
|
|
|
|
-include Makefile.dep
|
|
# DO NOT DELETE
|