Fixed little Makefile dependency
This commit is contained in:
parent
05f9fb05c1
commit
e422fdbced
3
Makefile
3
Makefile
|
@ -4,6 +4,7 @@ include $(CURDIR)/Makefile.cfg
|
|||
|
||||
# DEDUCED VARS
|
||||
ALLOBJ = $(SRC:%=$(OBJDIR)/%.o)
|
||||
ALLINC = $(INC:%=$(INCDIR)/%.h)
|
||||
|
||||
# RULES
|
||||
## Make it all (default rule)
|
||||
|
@ -18,7 +19,7 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.s
|
|||
$(AS) -c -o $@ $<
|
||||
|
||||
## Make an object file out of a C source file
|
||||
$(OBJDIR)/%.o: $(SRCDIR)/%.c
|
||||
$(OBJDIR)/%.o: $(SRCDIR)/%.c $(ALLINC)
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
## Make the ELF file
|
||||
|
|
|
@ -35,7 +35,8 @@ SENDR = UsbConnector
|
|||
SRC = crt0 Sound4Calc syscall
|
||||
|
||||
# INCLUDES
|
||||
INC = dispbios endian filebios fxlib keybios syscall timer \
|
||||
INC = dispbios endian filebios fxlib keybios timer \
|
||||
stdlib syscall \
|
||||
Sound4Calc
|
||||
|
||||
# END OF FILE
|
||||
|
|
Loading…
Reference in New Issue