Updated Makefile to detect changes in header files
This commit is contained in:
parent
75914dd0d2
commit
2e9dd52819
2 changed files with 6 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -27,6 +27,7 @@ VisualGDB/VisualGDB/Release/Amiberry
|
|||
*.db-shm
|
||||
*.db-wal
|
||||
*.TMP
|
||||
*.d
|
||||
VisualGDB/VisualGDB/Release/Amiberry-sdl2
|
||||
*.npa00-cfdc2249
|
||||
*.a
|
||||
|
@ -48,3 +49,4 @@ VisualGDB/VisualGDB/Debug/Amiberry-sdl2-dev
|
|||
VSLinux/obj/ARM/Debug/
|
||||
VisualGDB/Amiberry/VisualGDB/Debug/Amiberry-sdl1
|
||||
VisualGDB/Amiberry/VisualGDB/Debug/Amiberry-sdl2
|
||||
VisualGDB/Amiberry/VisualGDB/
|
||||
|
|
5
Makefile
5
Makefile
|
@ -10,6 +10,7 @@ endif
|
|||
DISPMANX_FLAGS = -DUSE_DISPMANX -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads
|
||||
DISPMANX_LDFLAGS = -lbcm_host -lvchiq_arm -L/opt/vc/lib
|
||||
|
||||
CPPFLAGS+= -MD -MP
|
||||
#DEBUG=1
|
||||
#GCC_PROFILE=1
|
||||
#GEN_PROFILE=1
|
||||
|
@ -389,6 +390,8 @@ OBJS += src/jit/compstbl.o
|
|||
OBJS += src/jit/compemu_fpp.o
|
||||
OBJS += src/jit/compemu_support.o
|
||||
|
||||
-include $(OBJS:%.o=%.d)
|
||||
|
||||
$(PROG): $(OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
|
||||
ifndef DEBUG
|
||||
|
@ -446,7 +449,7 @@ ASMS = \
|
|||
genasm: $(ASMS)
|
||||
|
||||
clean:
|
||||
$(RM) $(PROG) $(OBJS) $(ASMS)
|
||||
$(RM) $(PROG) $(OBJS) $(ASMS) $(OBJS:%.o=%.d)
|
||||
$(MAKE) -C src/guisan clean
|
||||
|
||||
delasm:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue