DJGPP.MAK
资源名称:ertos.rar [点击查看]
上传用户:sunrenlu
上传日期:2022-06-13
资源大小:1419k
文件大小:1k
源码类别:
操作系统开发
开发平台:
DOS
- #
- # Makefile for DJGPP
- #
- SOURCE = ftpd.c cgi.c ftp.c http.c httpd.c ntime.c smtpcli.c
- smtpd.c snmpd.c snmptrap.c syslog.c telnetd.c
- # tftp.c tftpd.c
- CC = gcc.exe
- CFLAGS = -O2 -g -I../inc -Wall -Winline -falign-loops=2
- -falign-jumps=2 -falign-functions=2 -fno-strength-reduce
- -ffast-math #-fomit-frame-pointer
- OBJS = $(SOURCE:.c=.o)
- TARGET = ../lib/librt32.a
- %.o: %.c
- $(CC) $(CFLAGS) -o $@ -c $<
- all: $(TARGET)
- $(TARGET): $(OBJS)
- ar rs $@ $?
- clean::
- rm -f $(OBJS)
- @echo Cleaning done