# Makefile for systems with GNU tools
CC = gcc
INSTALL = install
CFLAGS = -Wall -Wshadow
OBJS = main.o menu.o option.o clear.o \
stock_main.o stock.o getstock.o readlog.o writelog.o getdata.o putdata.o gettime.o \
yean_main.o yean.o seach.o yeanlog.o \
account.o getkey.o query.o \
pay_main.o pay.o income.o income_main.o
.c.o:
$(CC) -c $*.c $(CFLAGS)
brick: $(OBJS)
$(CC) -o brick $(OBJS)
clean:
rm -rf *.o *.c~ *.h~ brick stock yean pay income
阅读(541) | 评论(0) | 转发(0) |