cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

rules-asxxxx.mk (319B)


      1$(LIB): pre $(OBJ)
      2	for file in $(filter-out %/crt0.o,$(OBJ)) ; do \
      3		$(SDAR) -ru $(LIB) $${file} ; \
      4	done
      5
      6pre: set-model build-dir
      7
      8$(BUILD)/%.o: ../%.c
      9	$(CC) $(CFLAGS) -c -o $@ $<
     10
     11$(BUILD)/%.o: %.c
     12	$(CC) $(CFLAGS) -c -o $@ $<
     13
     14$(BUILD)/%.o: ../%.s
     15	$(AS) -plosgff $@ $<
     16
     17$(BUILD)/%.o: %.s
     18	$(AS) -plosgff $@ $<