Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignment 5 complete #3

Open
wants to merge 4 commits into
base: Assignment-5-base
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions server/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# ECEN 5713 Assignment 5 Makefile
# Builds the aesdsocket application with support for cross-compilation using CROSS-COMPILE
# Author: Sonal Tamrakar
# Credit: Adapted from Sam Siewert POSIX API Makefile
# https://math.uaa.alaska.edu/~ssiewert/a335_code/EXAMPLES/POSIX/
# Date: 10/06/2024

INCLUDE_FLAGS= -Wall -Werror
LIB_DIRS =

CC = gcc



CDEFS=
CFLAGS= -O0 -g $(INCLUDE_FLAGS) $(CDEFS)
LIBS=

PRODUCT=aesdsocket

HFILES=
CFILES=aesdsocket.c

SRCS= ${HFILES} ${CFILES}
OBJS= ${CFILES:.c=.o}

all: ${PRODUCT}

clean:
-rm -f *.o *.d
-rm -f aesdsocket

aesdsocket: ${OBJS}
$(CROSS_COMPILE)$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)

depend:

.c.o:
$(CROSS_COMPILE)$(CC) $(CFLAGS) -c $<
Binary file added server/aesdsocket
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sota6640 ensure you don't have binaries checked into your repo, this will cause issues with assignment 6.

Binary file not shown.
Loading
Loading