Revision b0f0c430 subdir.mak

View differences:

subdir.mak
25 25
	$(LD) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS)
26 26

  
27 27
$(SUBDIR)%-test.o: $(SUBDIR)%.c
28
	$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^
28
	$(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c -o $$@ $$^
29 29

  
30 30
$(SUBDIR)%-test.o: $(SUBDIR)%-test.c
31
	$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^
31
	$(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c -o $$@ $$^
32 32

  
33 33
$(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
34 34
	$(YASM) $(YASMFLAGS) -I $$(<D)/ -o $$@ $$<

Also available in: Unified diff