UMBC CMSC 201 Spring '02 CSEE | 201 | 201 S'02 | lectures | news | help

Information for Dr. Nicholas' Sections (0301-0305) Only

Items are posted in reverse chronological order (i.e., newest to oldest).

April 8

Here is a sample makefile for project 3. You should be able to paste it into your own directory using your favorite editor. There is a TAB after each colon, and each of the "command" lines begins with a TAB.

CFLAGS= -Wall -ansi -g
runit : a.out   
a.out: proj3.o keno.o
        gcc proj3.o keno.o $(CFLAGS) -lm 
proj3.o:        proj3.c keno.h
        gcc -c $(CFLAGS) proj3.c 
keno.o: keno.c keno.h
        gcc -c $(CFLAGS) keno.c
        rm -f a.out proj3.o keno.o

CSEE | 201 | 201 S'02 | lectures | news | help

Last Modified - Monday, 08-Apr-2002 14:00:36 EDT