winpty/config.mk
2012-03-21 00:14:04 -07:00

13 lines
252 B
Makefile

CFLAGS += -MMD -Wall
CXXFLAGS += -MMD -Wall
# Use gmake -n to see the command-lines gmake would run.
%.o : %.c
@echo Compiling $<
@$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
%.o : %.cc
@echo Compiling $<
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<