pcb and initial code from https://github.com/das-labor/borgware-2d.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
337 B
21 lines
337 B
|
|
OBJECTS += $(patsubst %.c,%.o,${SRC})
|
|
OBJECTS += $(patsubst %.S,%.o,${ASRC})
|
|
|
|
%.a: $(OBJECTS)
|
|
$(RM) $@
|
|
$(AR) qcv $@ $^
|
|
# $(STRIP) --strip-unneeded $@
|
|
|
|
%.o: %.S
|
|
$(CC) -o $@ $(CPPFLAGS) $(ASFLAGS) -c $<
|
|
|
|
clean-common:
|
|
$(RM) $(TARGET) *.[odasE] *.d.new *~
|
|
|
|
clean: clean-common
|
|
|
|
all:
|
|
make -C $(TOPDIR) all
|
|
|
|
include $(TOPDIR)/depend.mk
|
|
|