Revision 38d7ad19

View differences:

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

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

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

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

Also available in: Unified diff