added default rule for .cpp files

svn path=/trunk/; revision=2384
This commit is contained in:
Rex Jolliff 2001-11-20 21:56:54 +00:00
parent 5f56974966
commit c900b97902

View file

@ -85,6 +85,8 @@ AR = $(PREFIX)ar
RC = $(PREFIX)windres RC = $(PREFIX)windres
RCINC = --include-dir ../reactos/include --include-dir ../../reactos/include --include-dir ../../../reactos/include RCINC = --include-dir ../reactos/include --include-dir ../../reactos/include --include-dir ../../../reactos/include
%.o: %.cpp
$(CC) $(CFLAGS) -c $< -o $@
%.o: %.cc %.o: %.cc
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $< -o $@
%.o: %.c %.o: %.c