DJGPP.MAK
资源名称:ertos.rar [点击查看]
上传用户:sunrenlu
上传日期:2022-06-13
资源大小:1419k
文件大小:0k
源码类别:
操作系统开发
开发平台:
DOS
- #
- # GNU Makefile for ./projectsdirectory
- #
- .SUFFIXES: .exe
- LIBS = ../lib/librt32.a $(subst ,/,$(WATT_ROOT))/lib/libwatt.a
- CC = gcc
- CFLAGS = -Wall -O2 -g -gcoff -I. -I../inc
- PROGS = web4test.exe email.exe fingtest.exe telnetd.exe modem.exe
- cgitest.exe cookie.exe xmodem.exe findgate.exe netwatch.exe
- all: $(PROGS)
- @echo Protected-mode (djgpp2) program done.
- %.exe: %.c $(LIBS)
- $(CC) $(CFLAGS) $*.c $(LIBS) -o $*.exe
- $(PROGS): $(LIBS)
- clean:
- rm -f $(PROGS)